package com.zyuc.java.hdfs;

import org.apache.hadoop.fs.Hdfs;

import java.util.Iterator;
import java.util.TreeSet;

/**
 * Created by zhoucw on 18-8-13 下午2:31.
 */
public class HdfsFile{

    private String fileName;
    private Long fileSize;

    public HdfsFile(String fileName, Long fileSize) {
        this.fileName = fileName;
        this.fileSize = fileSize;
    }

    public String getFileName() {
        return fileName;
    }

    public Long getFileSize() {
        return fileSize;
    }


    @Override
    public String toString() {
        return this.fileName + ":" + this.getFileSize();
    }

}
